package simple13.template;

import simple13.fruit.Fruit;

import java.util.List;

public class CashShopping extends ShoppingCart {
    public CashShopping(List<Fruit> products) {
        super(products);
    }

    @Override
    protected void pay(int money) {
        System.out.println("现金结算,假一罚十");
    }
}
